﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_DoanhNghiep.aspx.cs" Inherits="admin_A_DoanhNghiep" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
    <div style="text-align: center">
        <table style="width: 100%" align="center" border="1">
            <tr>
                <td colspan="2" style="height: 100%; color: #993300; background-color: #cccccc;">
                    Danh Sách Doanh Nghiệp</td>
            </tr>
            <tr>
                <td colspan="2" style="height: 13px; background-color: #cccccc;" align="left">
                    Mã :
                    <asp:TextBox ID="txtmadn" runat="server"></asp:TextBox>&nbsp; Tên :
                    <asp:TextBox ID="txttendn" runat="server"></asp:TextBox>   <asp:Button ID="bttimkiem" runat="server" Text="Tìm kiếm"  OnClick="bttimkiem_Click"/><asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_x_Click" >Xóa</asp:LinkButton></td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="background-color: #cccccc">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                   <thead>
                    <tr class="listtableheader">
                        <th>Mã Doanh Nghiệp</th>
                        <th>Tên </th>
                        <th>Mật Khẩu </th>
                        <th>Tài Khoản </th>
                        <th>Địa Chỉ </th>
                        <th>Email </th>
                        <th>Fax</th>
                        <th>Điện Thoại </th>
                         <th>Bản Đồ</th>
                    
                       <th> <input id="cb_All" type="checkbox" onclick="CheckAll(1);"/>
                      <a href="javascript:CheckAll(2)">Chọn hết</a></th>
                    </tr>
                </thead>
                <tbody>
                </HeaderTemplate>  
                <ItemTemplate>
                  <tr>
                    <td><%#Eval("MaDN") %></td>
                    <td><%#Eval("TenDN") %></td>
                    <td><%#Eval("MatKhau") %></td>
                    <td><%#Eval("TaiKhoan") %></td>
                     <td><%#Eval("DiaChi") %></td>
                    <td><%#Eval("Email") %></td>
                    <td><%#Eval("Fax") %></td>
                    <td><%#Eval("Dienthoai") %></td>
                       <td><asp:Image ID="i_hinhbando" runat="server" Height="65px" Width="65px"/></td>
                    
                   
                         <td align="center">
            <asp:CheckBox ID="cb_Xoa" runat="server"  />
            <asp:HiddenField ID="hdmadn" Value='<%#Eval("Madn") %>' runat="server" />
            </td>
                  </tr>
                  
                </ItemTemplate>
                <FooterTemplate>
                </tbody>
                   </table>
                
                </FooterTemplate>
               </asp:Repeater>  
                    <cc1:PagerV2_8 ID="ptloaihang" runat="server" OnCommand="ptloaihang_Command" />
                </td>
            </tr>
        </table>
    </div>

</asp:Content>

